package com.wyh.domain.po.feemanagementpo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 合同表
 * </p>
 *
 * @author ggt
 * @since 2024-05-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("contract")
public class Contract implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 角色，0业主、1租户
     */
    private Integer role;

    /**
     * 客户id
     */
    private Integer customerid;

    /**
     * 资源id
     */
    private Integer resourceid;

    /**
     * 合同附件
     */
    private String contract;

    /**
     * 合同编号
     */
    private String contractnumber;

    /**
     * 计费周期
     */
    private Integer billingcycle;

    /**
     * 费用id
     */
    private Integer billid;

    /**
     * 是否合并
     */
    private Integer merge;

    /**
     * 计费周期id
     */
    private Integer billingcycleid;

    /**
     * 是否收取滞拉金
     * 0否、1是
     */
    private Integer islaggold;

    /**
     * 滞拉金天数
     */
    private Integer Days;

    /**
     * 收费比例
     */
    private BigDecimal proportion;


}
